using System.ComponentModel.DataAnnotations;

namespace SmartHealthcare.Write.Api.DTo
{
    /// <summary>
    /// 出院结算DTO
    /// </summary>
    public class DischargeSettlementDto
    {
        /// <summary>
        /// 病人卡号
        /// </summary>
        [Required(ErrorMessage = "病人卡号不能为空")]
        public string MedicalCard { get; set; } = string.Empty;

        /// <summary>
        /// 病人姓名
        /// </summary>
        [Required(ErrorMessage = "病人姓名不能为空")]
        public string PatientName { get; set; } = string.Empty;

        /// <summary>
        /// 住院登记ID
        /// </summary>
        [Required(ErrorMessage = "住院登记ID不能为空")]
        public long InpatientRegistryId { get; set; }

        /// <summary>
        /// 操作人员
        /// </summary>
        public string OperatorName { get; set; } = "system";

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; } = string.Empty;
    }
} 